package com.zd.shopping.activity;

import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.TextView;


import com.zd.shopping.R;
import com.zwz.mall.base.BaseActivity;
import com.zwz.mall.utils.BarHeightUtils;

import butterknife.BindView;

/**
 *
 * @author Administrator
 * @date 2019/10/30 0030
 */

public class DemoActivity extends BaseActivity
{
    @BindView(R.id.title)
    TextView title;
    @BindView(R.id.toolbar)
    Toolbar toolbar;
    @BindView(R.id.fake_status_bar)
    View fakeStatusBar;
    @Override
    public int getLayoutId()
    {
        return R.layout.activity_deom;
    }

    @Override
    public void initPresenter()
    {

    }

    @Override
    public void initView()
    {
        BarHeightUtils.setStatusBarHeight(fakeStatusBar, getStatusBarHeight());

    }

    @Override
    public void fillData()
    {

    }

    @Override
    public void setListener()
    {
        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
